<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
  * {
    padding: 0;
    margin: 0;
  }
  body {
      background-color: silver;
  }
  .box {
    margin: 300px auto;
    width: 400px;
    height: 400px;
    position: relative;
    animation: revolve 2s linear infinite;
  }
  .circle1 {
    width: 400px;
    height: 400px;
    background-color: black;
    border-radius: 50%;
  }
  .circle2 {
    width: 200px;
    height: 400px;
    background-color: white;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
    position: absolute;
    top: 0;
    left: 200px;
  }
  .circle3 {
    width: 200px;
    height: 200px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 100px;
  }
  .circle4 {
    width: 200px;
    height: 200px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 200px;
    left: 100px;
  }
  .circle5 {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 75px;
    left: 175px;
  }
  .circle6 {
    width: 50px;
    height: 50px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 275px;
    left: 175px;
  }
  @keyframes revolve {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(360deg);
    }
  }
</style>
<body>
  <div class="box">
    <div class="circle1"></div>
    <div class="circle2"></div>
    <div class="circle3"></div>
    <div class="circle4"></div>
    <div class="circle5"></div>
    <div class="circle6"></div>
  </div>
</body>
</html>